﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using BlueCMS.Core.Data.Query.Tables;

namespace BlueCMS.Core.Data.Query.Clauses
{
    public class FromClause : IFromClause
    {
        public List<Table> Tables { get; private set; }

        public FromClause()
        {
            Tables = new List<Table>();
        }

        public ITable Table(string name)
        {
            Table table = new Table(name);
            Tables.Add(table);
            return table;
        }
    }
}
